home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 26.zip
/
BS1 part 26
/
Macro assembler dev syst.adf
/
include
/
exec
/
types.i
< prev
Wrap
Text File
|
1985-12-20
|
2KB
|
120 lines
IFND EXEC_TYPES_I
EXEC_TYPES_I SET 1
**********************************************************************
*
* Commodore-Amiga, Inc. -- ROM Operating System Executive Include File
*
**********************************************************************
*
* Source Control:
*
* $Header: types.i,v 1.2 85/11/15 17:44:08 carl Exp $
*
* $Locker: $
*
**********************************************************************
EXTERN_LIB MACRO
XREF _LVO\1
ENDM
STRUCTURE MACRO
\1 SET 0 * for assembler's sake
SOFFSET SET \2
ENDM
BOOL MACRO
\1 EQU SOFFSET
SOFFSET SET SOFFSET+2
ENDM
BYTE MACRO
\1 EQU SOFFSET
SOFFSET SET SOFFSET+1
ENDM
UBYTE MACRO
\1 EQU SOFFSET
SOFFSET SET SOFFSET+1
ENDM
WORD MACRO
\1 EQU SOFFSET
SOFFSET SET SOFFSET+2
ENDM
UWORD MACRO
\1 EQU SOFFSET
SOFFSET SET SOFFSET+2
ENDM
SHORT MACRO
\1 EQU SOFFSET
SOFFSET SET SOFFSET+2
ENDM
USHORT MACRO
\1 EQU SOFFSET
SOFFSET SET SOFFSET+2
ENDM
LONG MACRO
\1 EQU SOFFSET
SOFFSET SET SOFFSET+4
ENDM
ULONG MACRO
\1 EQU SOFFSET
SOFFSET SET SOFFSET+4
ENDM
FLOAT MACRO
\1 EQU SOFFSET
SOFFSET SET SOFFSET+4
ENDM
APTR MACRO
\1 EQU SOFFSET
SOFFSET SET SOFFSET+4
ENDM
RPTR MACRO
\1 EQU SOFFSET
SOFFSET SET SOFFSET+2
ENDM
STRUCT MACRO
\1 EQU SOFFSET
SOFFSET SET SOFFSET+\2
ENDM
LABEL MACRO
\1 EQU SOFFSET
ENDM
*------ bit definition macro ------------------------------------
*
* Given:
*
* BITDEF MEM,CLEAR,16
*
* Yields:
*
* MEMB_CLEAR EQU 16
* MEMF_CLEAR EQU (1.SL.MEMB_CLEAR)
*
BITDEF MACRO * prefix,&name,&bitnum
BITDEF0 \1,\2,B_,\3
\@BITDEF SET 1<<\3
BITDEF0 \1,\2,F_,\@BITDEF
ENDM
BITDEF0 MACRO * prefix,&name,&type,&value
\1\3\2 EQU \4
ENDM
LIBRARY_VERSION EQU 31
ENDC EXEC_TYPES_I